package com.md.lesson3;

import java.util.Scanner;

public class Demo3 {

	public static void main(String[] args) {
		int num1;
		byte num2;
		float num3;
		
		
		Scanner scan = new Scanner(System.in);
		
		System.out.println();
		num1 = scan.nextInt();
		
		System.out.println();
		num2 = scan.nextByte();
		
		System.out.println();
		num3 = scan.nextFloat();
		
		System.out.println(+num1);
		System.out.println(+num2);
		System.out.println(+num3);
		
		float sum = num1 + num2 + num3;
		
		System.out.println("sum=" +sum);
		

	}

}
